<include file="Public/min-header" />
<div class="wrapper">
    <include file="Public/breadcrumb"/>
    <section class="content ">
        <!-- Main content -->
        <div class="container-fluid">
            <div class="pull-right">
                <a href="javascript:history.go(-1)" data-toggle="tooltip" title="" class="btn btn-default" data-original-title="返回管理员列表"><i class="fa fa-reply"></i></a>
            </div>
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title"><i class="fa fa-list"></i> 添加病种</h3>
                </div>
                <div class="panel-body ">   
                    <!--表单数据-->
                    <form method="post" id="adminHandle" action="{:U('Bingzhong/add')}">                    
                        <!--通用信息-->
                    <div class="tab-content col-md-10">                 	  
                        <div class="tab-pane active" id="tab_tongyong">                           
                            <table class="table table-bordered">
                                <tbody>
								
                                <tr>
                                    <td class="col-sm-2">病种分类：</td>
                                    <td class="col-sm-8">
										<select name="cat_id">
										   <option value="1">自测表第一栏</option>
										   <option value="2">自测表第二栏</option>
										   <option value="31">第三栏心脑血管</option>
										   <option value="32">第三栏泌尿系统</option>
										   <option value="33">第三栏骨关节</option>
										   <option value="34">第三栏其他病症</option>
										   <option value="4">自测表第四栏</option> 
										   <option value="5">自测表第五栏</option>                           
										</select>
                                                                      
                                    </td>
                                </tr>  
                                <tr>
                                    <td class="col-sm-2">病种名称：</td>
                                    <td class="col-sm-8">
                                        <input type="text" class="form-control" name="bz_name" value="" >
                                                                      
                                    </td>
                                </tr>  
                                                         
                                </tbody> 
                                <tfoot>
                                	<tr>
                                	<td><input type="hidden" name="act" value="{$act}">
                                	</td>
                                	<td class="text-right"><input class="btn btn-primary" type="button" onclick="adsubmit()" value="保存"></td></tr>
                                </tfoot>                               
                                </table>
                        </div>                           
                    </div>              
			    	</form><!--表单数据-->
                </div>
            </div>
        </div>
    </section>
</div>
<script>
function adsubmit(){
	if($('input[name=bz_name]').val() == ''){
		layer.msg('病种名不能为空！', {icon: 2,time: 1000});   //alert('少年，用户名不能为空！');
		
		return false;
	}
	$('#adminHandle').submit();
}
</script>
</html>